package com.qiaofang.applet.service.other.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qiaofang.applet.common.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: youqing.yang
 * @Create: 2020/11/13 11:57
 * @Description:
 **/
@Data
@ApiModel("房贷计算设置dto admin展示使用")
public class LendingRatesAdminDto extends BaseDto {

    @ApiModelProperty("当前展示利率id")
    private String id;

    @ApiModelProperty("当前一年LPR利率")
    private BigDecimal oneLprRate;

    @ApiModelProperty("当前五年LPR利率")
    private BigDecimal fiveLprRate;

    @ApiModelProperty("利率基点跳点")
    private BigDecimal rateBasis;

    @ApiModelProperty("最高增减基点")
    private BigDecimal maxRateBasis;

    @ApiModelProperty("LPR发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date lprPublishDate;

    @ApiModelProperty("公积金利率")
    private BigDecimal providentFundRate;
}
